package com.corpcredit.webapp.action;

import java.io.Serializable;
import java.util.List;

import com.corpcredit.webapp.action.BasePage;
import com.corpcredit.model.PdxmfsJs;
import com.corpcredit.service.GenericManager;

public class PdxmfsJsList extends BasePage implements Serializable {
    private GenericManager<PdxmfsJs, Long> pdxmfsJsManager;

    public void setPdxmfsJsManager(GenericManager<PdxmfsJs, Long> pdxmfsJsManager) {
        this.pdxmfsJsManager = pdxmfsJsManager;
    }

    public PdxmfsJsList() {
        setSortColumn("id"); // sets the default sort column
    }

    public List getPdxmfsJss() {
        return sort(pdxmfsJsManager.getAll());
    }
}

